<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Images
 *
 * @property integer $id
 * @property integer $file_id
 * @property string $img_name
 * @property string $img_type
 * @property string $deleted_at
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @method static \Illuminate\Database\Query\Builder|\App\Images whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Images whereFileId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Images whereImgName($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Images whereImgType($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Images whereDeletedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Images whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Images whereUpdatedAt($value)
 */
class Images extends Model {

	//琛ㄥ悕
    protected $table = 'images' ;
    use SoftDeletes;

    public function files()
    {
        return $this->belongsTo('App\Files' , 'file_id') ;
    }
}
